import threading

def print_01():
    print("我是函数1")


def print_02():
    print("我是函数2")

t=threading.Thread(target=print_01)
t2=threading.Thread(target=print_02)

t.start()
t2.start()